package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "护理任务列表Dto")
public class NursingTaskListDto {


    // 护理员id
    @Excel(name = "护理员id")
    @ApiModelProperty(value = "护理员id")
    private Integer nurseId;

    // 护理项目ID
    @ApiModelProperty(value = "护理项目ID")
    private Integer projectId;

    // 老人姓名
    @Excel(name = "老人姓名")
    @ApiModelProperty(value = "老人姓名")
    private String elderName;

    // 状态  1待执行 2已执行 3已关闭
    @Excel(name = "状态  1待执行 2已执行 3已关闭 ")
    @ApiModelProperty(value = "状态  1待执行 2已执行 3已关闭 ")
    private Integer status;

    //Dto补充

    //结束时间
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    //页码
    @ApiModelProperty(value = "页码")
    private Integer pageNum;

    //每页显示条数
    @ApiModelProperty(value = "每页显示条数")
    private Integer pageSize;

    //开始时间
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

}
